<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>

<h1>Cambiar Contrase&ntilde;a</h1>

<html:javascript formName="Contrasena"/>
<html:form action="/CambiarContrasena?method=actualizar" onsubmit="return validateContrasena(this)">
    <table>
        <tr>
            <td>C&eacute;dula:</td>
            <td>
                <html:text property="cedula" 
                           onkeypress="return validar_texto(event)" 
                           styleId="cedula" size="12" maxlength="10" 
                           readonly="true"/>
            </td>
        </tr>
        <tiles:insert page="/formularios/contrasena/basico.jsp" />
    </table>
    <div class="center"> 
        <html:reset styleId="boton">
            <bean:message key="boton.reset" />
        </html:reset>
        <html:submit styleId="boton" >
            <bean:message key="boton.modificar" />
        </html:submit>

        <BR/>
        <div id="alerta">
            <bean:write name="Contrasena" property="mensaje" filter="false"/>
        </div>
    </div>
</html:form>